<%@tag import="java.util.List"%>
<%@tag import="java.sql.Connection"%>
<%@tag import="by.epam.communalservices.utils.Job"%>
<%@tag import="by.epam.communalservices.entity.JkhTask"%>

<%@ attribute name="id" required="true"%>
<%
    Job job = new Job((Connection) request.getSession().getAttribute("currentConnection"));
	List<JkhTask> taskList = job.listObjectTask(Long.parseLong(getJspContext().getAttribute("id").toString()));
    request.setAttribute("taskList",taskList);

%>